<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtDynGridLayout Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.1.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_dyn_grid_layout.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_qwt_dyn_grid_layout-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtDynGridLayout Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_qwt_dyn_grid_layout.html" title="The QwtDynGridLayout class lays out widgets in a grid, adjusting the number of columns and rows to th...">QwtDynGridLayout</a> class lays out widgets in a grid, adjusting the number of columns and rows to the current size.  
 <a href="class_qwt_dyn_grid_layout.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__dyngrid__layout_8h_source.html">qwt_dyngrid_layout.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtDynGridLayout:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_dyn_grid_layout__inherit__graph.png" border="0" usemap="#_qwt_dyn_grid_layout_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_dyn_grid_layout_inherit__map" id="_qwt_dyn_grid_layout_inherit__map">
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acba446fe9ab4fc412460f86c2b21e08f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#acba446fe9ab4fc412460f86c2b21e08f">QwtDynGridLayout</a> (QWidget *, int margin=0, int spacing=-1)</td></tr>
<tr class="separator:acba446fe9ab4fc412460f86c2b21e08f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4e3d1b42335f01ccf1236ffb7a12807"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#ac4e3d1b42335f01ccf1236ffb7a12807">QwtDynGridLayout</a> (int spacing=-1)</td></tr>
<tr class="separator:ac4e3d1b42335f01ccf1236ffb7a12807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb583f302fbf5d92b306841d414e52a4"><td class="memItemLeft" align="right" valign="top"><a id="abb583f302fbf5d92b306841d414e52a4"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#abb583f302fbf5d92b306841d414e52a4">~QwtDynGridLayout</a> ()</td></tr>
<tr class="memdesc:abb583f302fbf5d92b306841d414e52a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:abb583f302fbf5d92b306841d414e52a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb55e24d5bc569c9822110d538e3a82e"><td class="memItemLeft" align="right" valign="top"><a id="acb55e24d5bc569c9822110d538e3a82e"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#acb55e24d5bc569c9822110d538e3a82e">invalidate</a> ()</td></tr>
<tr class="memdesc:acb55e24d5bc569c9822110d538e3a82e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate all internal caches. <br /></td></tr>
<tr class="separator:acb55e24d5bc569c9822110d538e3a82e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a910bc4bcdecfa2d3a98a9bd091933014"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a910bc4bcdecfa2d3a98a9bd091933014">setMaxColumns</a> (uint <a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143">maxColumns</a>)</td></tr>
<tr class="separator:a910bc4bcdecfa2d3a98a9bd091933014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e0cee4cf42ddf5b3f33947b1881143"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143">maxColumns</a> () const</td></tr>
<tr class="memdesc:a73e0cee4cf42ddf5b3f33947b1881143"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the upper limit for the number of columns.  <a href="#a73e0cee4cf42ddf5b3f33947b1881143">More...</a><br /></td></tr>
<tr class="separator:a73e0cee4cf42ddf5b3f33947b1881143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a912f31757155f2a7573a8e2076d248b8"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a912f31757155f2a7573a8e2076d248b8">numRows</a> () const</td></tr>
<tr class="separator:a912f31757155f2a7573a8e2076d248b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a773d577c8abcb959dc41c22a6afc5ce7"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a773d577c8abcb959dc41c22a6afc5ce7">numColumns</a> () const</td></tr>
<tr class="separator:a773d577c8abcb959dc41c22a6afc5ce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ac3ace65c84e16fba7fe83cd795eea1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a3ac3ace65c84e16fba7fe83cd795eea1">addItem</a> (QLayoutItem *)</td></tr>
<tr class="memdesc:a3ac3ace65c84e16fba7fe83cd795eea1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an item to the next free position.  <a href="#a3ac3ace65c84e16fba7fe83cd795eea1">More...</a><br /></td></tr>
<tr class="separator:a3ac3ace65c84e16fba7fe83cd795eea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a959736cf9f01da694f399ca4aa574f6d"><td class="memItemLeft" align="right" valign="top">virtual QLayoutItem *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a959736cf9f01da694f399ca4aa574f6d">itemAt</a> (int index) const</td></tr>
<tr class="separator:a959736cf9f01da694f399ca4aa574f6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad16c097bc1563eb1587e12789498bac9"><td class="memItemLeft" align="right" valign="top">virtual QLayoutItem *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#ad16c097bc1563eb1587e12789498bac9">takeAt</a> (int index)</td></tr>
<tr class="separator:ad16c097bc1563eb1587e12789498bac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a709b5884f18502b8b421015372d0a9d2"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a709b5884f18502b8b421015372d0a9d2">count</a> () const</td></tr>
<tr class="separator:a709b5884f18502b8b421015372d0a9d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56cd48dda979428402dd39d470674dee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a56cd48dda979428402dd39d470674dee">setExpandingDirections</a> (Qt::Orientations)</td></tr>
<tr class="separator:a56cd48dda979428402dd39d470674dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a311207e2bec81a2b8c722544ecc988e3"><td class="memItemLeft" align="right" valign="top">virtual Qt::Orientations&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a311207e2bec81a2b8c722544ecc988e3">expandingDirections</a> () const</td></tr>
<tr class="memdesc:a311207e2bec81a2b8c722544ecc988e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this layout can make use of more space than <a class="el" href="class_qwt_dyn_grid_layout.html#ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9">sizeHint()</a>.  <a href="#a311207e2bec81a2b8c722544ecc988e3">More...</a><br /></td></tr>
<tr class="separator:a311207e2bec81a2b8c722544ecc988e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0209454d4efa0532a574c8b1c511366"><td class="memItemLeft" align="right" valign="top">QList&lt; QRect &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#aa0209454d4efa0532a574c8b1c511366">layoutItems</a> (const QRect &amp;, uint <a class="el" href="class_qwt_dyn_grid_layout.html#a773d577c8abcb959dc41c22a6afc5ce7">numColumns</a>) const</td></tr>
<tr class="separator:aa0209454d4efa0532a574c8b1c511366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f59bc630006261cf3d82609e9513add"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a4f59bc630006261cf3d82609e9513add">maxItemWidth</a> () const</td></tr>
<tr class="separator:a4f59bc630006261cf3d82609e9513add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdf23bb94de5258f14fb077b39a64391"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#afdf23bb94de5258f14fb077b39a64391">setGeometry</a> (const QRect &amp;rect)</td></tr>
<tr class="separator:afdf23bb94de5258f14fb077b39a64391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f73373c139e0a872276b7282c293a14"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a2f73373c139e0a872276b7282c293a14">hasHeightForWidth</a> () const</td></tr>
<tr class="separator:a2f73373c139e0a872276b7282c293a14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb99994c1a106ab153125c7a0540f7cf"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#acb99994c1a106ab153125c7a0540f7cf">heightForWidth</a> (int) const</td></tr>
<tr class="separator:acb99994c1a106ab153125c7a0540f7cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9">sizeHint</a> () const</td></tr>
<tr class="separator:ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f2eeeb0220e669cf07f45c42ee6e007"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a9f2eeeb0220e669cf07f45c42ee6e007">isEmpty</a> () const</td></tr>
<tr class="separator:a9f2eeeb0220e669cf07f45c42ee6e007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc8630cd39eb75e12a9c38beac670783"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#abc8630cd39eb75e12a9c38beac670783">itemCount</a> () const</td></tr>
<tr class="separator:abc8630cd39eb75e12a9c38beac670783"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27f533700d504f931753cec818d2ebdd"><td class="memItemLeft" align="right" valign="top">virtual uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a27f533700d504f931753cec818d2ebdd">columnsForWidth</a> (int width) const</td></tr>
<tr class="memdesc:a27f533700d504f931753cec818d2ebdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the number of columns for a given width.  <a href="#a27f533700d504f931753cec818d2ebdd">More...</a><br /></td></tr>
<tr class="separator:a27f533700d504f931753cec818d2ebdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a00efa314c5451849e5ec3babc2639cf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a00efa314c5451849e5ec3babc2639cf0">layoutGrid</a> (uint <a class="el" href="class_qwt_dyn_grid_layout.html#a773d577c8abcb959dc41c22a6afc5ce7">numColumns</a>, QVector&lt; int &gt; &amp;rowHeight, QVector&lt; int &gt; &amp;colWidth) const</td></tr>
<tr class="separator:a00efa314c5451849e5ec3babc2639cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7458a33ba41b2c150373ab0bbb7c5f48"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_dyn_grid_layout.html#a7458a33ba41b2c150373ab0bbb7c5f48">stretchGrid</a> (const QRect &amp;rect, uint <a class="el" href="class_qwt_dyn_grid_layout.html#a773d577c8abcb959dc41c22a6afc5ce7">numColumns</a>, QVector&lt; int &gt; &amp;rowHeight, QVector&lt; int &gt; &amp;colWidth) const</td></tr>
<tr class="separator:a7458a33ba41b2c150373ab0bbb7c5f48"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_qwt_dyn_grid_layout.html" title="The QwtDynGridLayout class lays out widgets in a grid, adjusting the number of columns and rows to th...">QwtDynGridLayout</a> class lays out widgets in a grid, adjusting the number of columns and rows to the current size. </p>
<p><a class="el" href="class_qwt_dyn_grid_layout.html" title="The QwtDynGridLayout class lays out widgets in a grid, adjusting the number of columns and rows to th...">QwtDynGridLayout</a> takes the space it gets, divides it up into rows and columns, and puts each of the widgets it manages into the correct cell(s). It lays out as many number of columns as possible (limited by <a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a>). </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="acba446fe9ab4fc412460f86c2b21e08f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acba446fe9ab4fc412460f86c2b21e08f">&#9670;&nbsp;</a></span>QwtDynGridLayout() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtDynGridLayout::QwtDynGridLayout </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>margin</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>spacing</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Parent widget </td></tr>
    <tr><td class="paramname">margin</td><td>Margin </td></tr>
    <tr><td class="paramname">spacing</td><td>Spacing </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac4e3d1b42335f01ccf1236ffb7a12807"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4e3d1b42335f01ccf1236ffb7a12807">&#9670;&nbsp;</a></span>QwtDynGridLayout() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtDynGridLayout::QwtDynGridLayout </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>spacing</em> = <code>-1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">spacing</td><td>Spacing </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3ac3ace65c84e16fba7fe83cd795eea1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ac3ace65c84e16fba7fe83cd795eea1">&#9670;&nbsp;</a></span>addItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDynGridLayout::addItem </td>
          <td>(</td>
          <td class="paramtype">QLayoutItem *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add an item to the next free position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>Layout item </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a27f533700d504f931753cec818d2ebdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27f533700d504f931753cec818d2ebdd">&#9670;&nbsp;</a></span>columnsForWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint QwtDynGridLayout::columnsForWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the number of columns for a given width. </p>
<p>The calculation tries to use as many columns as possible ( limited by <a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a> )</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Available width for all columns </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of columns for a given width</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#a910bc4bcdecfa2d3a98a9bd091933014">setMaxColumns()</a> </dd></dl>

</div>
</div>
<a id="a709b5884f18502b8b421015372d0a9d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a709b5884f18502b8b421015372d0a9d2">&#9670;&nbsp;</a></span>count()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QwtDynGridLayout::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Number of items in the layout </dd></dl>

</div>
</div>
<a id="a311207e2bec81a2b8c722544ecc988e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a311207e2bec81a2b8c722544ecc988e3">&#9670;&nbsp;</a></span>expandingDirections()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Qt::Orientations QwtDynGridLayout::expandingDirections </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns whether this layout can make use of more space than <a class="el" href="class_qwt_dyn_grid_layout.html#ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9">sizeHint()</a>. </p>
<p>A value of Qt::Vertical or Qt::Horizontal means that it wants to grow in only one dimension, while Qt::Vertical | Qt::Horizontal means that it wants to grow in both dimensions.</p>
<dl class="section return"><dt>Returns</dt><dd>Orientations, where the layout expands </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a56cd48dda979428402dd39d470674dee">setExpandingDirections()</a> </dd></dl>

</div>
</div>
<a id="a2f73373c139e0a872276b7282c293a14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f73373c139e0a872276b7282c293a14">&#9670;&nbsp;</a></span>hasHeightForWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtDynGridLayout::hasHeightForWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true: <a class="el" href="class_qwt_dyn_grid_layout.html" title="The QwtDynGridLayout class lays out widgets in a grid, adjusting the number of columns and rows to th...">QwtDynGridLayout</a> implements <a class="el" href="class_qwt_dyn_grid_layout.html#acb99994c1a106ab153125c7a0540f7cf">heightForWidth()</a>. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#acb99994c1a106ab153125c7a0540f7cf">heightForWidth()</a> </dd></dl>

</div>
</div>
<a id="acb99994c1a106ab153125c7a0540f7cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb99994c1a106ab153125c7a0540f7cf">&#9670;&nbsp;</a></span>heightForWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QwtDynGridLayout::heightForWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>The preferred height for this layout, given a width. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a2f73373c139e0a872276b7282c293a14">hasHeightForWidth()</a> </dd></dl>

</div>
</div>
<a id="a9f2eeeb0220e669cf07f45c42ee6e007"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f2eeeb0220e669cf07f45c42ee6e007">&#9670;&nbsp;</a></span>isEmpty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtDynGridLayout::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if this layout is empty. </dd></dl>

</div>
</div>
<a id="a959736cf9f01da694f399ca4aa574f6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a959736cf9f01da694f399ca4aa574f6d">&#9670;&nbsp;</a></span>itemAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QLayoutItem * QwtDynGridLayout::itemAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Find the item at a specific index</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Item at a specific index </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#ad16c097bc1563eb1587e12789498bac9">takeAt()</a> </dd></dl>

</div>
</div>
<a id="abc8630cd39eb75e12a9c38beac670783"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc8630cd39eb75e12a9c38beac670783">&#9670;&nbsp;</a></span>itemCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint QwtDynGridLayout::itemCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>number of layout items </dd></dl>

</div>
</div>
<a id="a00efa314c5451849e5ec3babc2639cf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00efa314c5451849e5ec3babc2639cf0">&#9670;&nbsp;</a></span>layoutGrid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDynGridLayout::layoutGrid </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>numColumns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>rowHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>colWidth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculate the dimensions for the columns and rows for a grid of numColumns columns.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">numColumns</td><td>Number of columns. </td></tr>
    <tr><td class="paramname">rowHeight</td><td>Array where to fill in the calculated row heights. </td></tr>
    <tr><td class="paramname">colWidth</td><td>Array where to fill in the calculated column widths. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa0209454d4efa0532a574c8b1c511366"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0209454d4efa0532a574c8b1c511366">&#9670;&nbsp;</a></span>layoutItems()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; QRect &gt; QwtDynGridLayout::layoutItems </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>numColumns</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculate the geometries of the layout items for a layout with numColumns columns and a given rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Rect where to place the items </td></tr>
    <tr><td class="paramname">numColumns</td><td>Number of columns </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>item geometries </dd></dl>

</div>
</div>
<a id="a73e0cee4cf42ddf5b3f33947b1881143"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73e0cee4cf42ddf5b3f33947b1881143">&#9670;&nbsp;</a></span>maxColumns()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint QwtDynGridLayout::maxColumns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the upper limit for the number of columns. </p>
<p>0 means unlimited, what is the default.</p>
<dl class="section return"><dt>Returns</dt><dd>Upper limit for the number of columns </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a910bc4bcdecfa2d3a98a9bd091933014">setMaxColumns()</a> </dd></dl>

</div>
</div>
<a id="a4f59bc630006261cf3d82609e9513add"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f59bc630006261cf3d82609e9513add">&#9670;&nbsp;</a></span>maxItemWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QwtDynGridLayout::maxItemWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the maximum width of all layout items </dd></dl>

</div>
</div>
<a id="a773d577c8abcb959dc41c22a6afc5ce7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a773d577c8abcb959dc41c22a6afc5ce7">&#9670;&nbsp;</a></span>numColumns()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint QwtDynGridLayout::numColumns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Number of columns of the current layout. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a912f31757155f2a7573a8e2076d248b8">numRows()</a> </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>The number of columns might change whenever the geometry changes </dd></dl>

</div>
</div>
<a id="a912f31757155f2a7573a8e2076d248b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a912f31757155f2a7573a8e2076d248b8">&#9670;&nbsp;</a></span>numRows()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint QwtDynGridLayout::numRows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Number of rows of the current layout. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a773d577c8abcb959dc41c22a6afc5ce7">numColumns()</a> </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>The number of rows might change whenever the geometry changes </dd></dl>

</div>
</div>
<a id="a56cd48dda979428402dd39d470674dee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56cd48dda979428402dd39d470674dee">&#9670;&nbsp;</a></span>setExpandingDirections()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDynGridLayout::setExpandingDirections </td>
          <td>(</td>
          <td class="paramtype">Qt::Orientations&#160;</td>
          <td class="paramname"><em>expanding</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set whether this layout can make use of more space than <a class="el" href="class_qwt_dyn_grid_layout.html#ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9">sizeHint()</a>. A value of Qt::Vertical or Qt::Horizontal means that it wants to grow in only one dimension, while Qt::Vertical | Qt::Horizontal means that it wants to grow in both dimensions. The default value is 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">expanding</td><td>Or'd orientations </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a311207e2bec81a2b8c722544ecc988e3" title="Returns whether this layout can make use of more space than sizeHint(). ">expandingDirections()</a> </dd></dl>

</div>
</div>
<a id="afdf23bb94de5258f14fb077b39a64391"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdf23bb94de5258f14fb077b39a64391">&#9670;&nbsp;</a></span>setGeometry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDynGridLayout::setGeometry </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Reorganizes columns and rows and resizes managed items within a rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Layout geometry </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a910bc4bcdecfa2d3a98a9bd091933014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a910bc4bcdecfa2d3a98a9bd091933014">&#9670;&nbsp;</a></span>setMaxColumns()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDynGridLayout::setMaxColumns </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>maxColumns</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Limit the number of columns. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">maxColumns</td><td>upper limit, 0 means unlimited </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a> </dd></dl>

</div>
</div>
<a id="ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4f9ce49d2ed581e5bb2ae4f1c3fa4f9">&#9670;&nbsp;</a></span>sizeHint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSize QwtDynGridLayout::sizeHint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the size hint. If <a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a> &gt; 0 it is the size for a grid with <a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a> columns, otherwise it is the size for a grid with only one row.</p>
<dl class="section return"><dt>Returns</dt><dd>Size hint </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a73e0cee4cf42ddf5b3f33947b1881143" title="Return the upper limit for the number of columns. ">maxColumns()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#a910bc4bcdecfa2d3a98a9bd091933014">setMaxColumns()</a> </dd></dl>

</div>
</div>
<a id="a7458a33ba41b2c150373ab0bbb7c5f48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7458a33ba41b2c150373ab0bbb7c5f48">&#9670;&nbsp;</a></span>stretchGrid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDynGridLayout::stretchGrid </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>numColumns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>rowHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>colWidth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Stretch columns in case of expanding() &amp; QSizePolicy::Horizontal and rows in case of expanding() &amp; QSizePolicy::Vertical to fill the entire rect. Rows and columns are stretched with the same factor.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Bounding rectangle </td></tr>
    <tr><td class="paramname">numColumns</td><td>Number of columns </td></tr>
    <tr><td class="paramname">rowHeight</td><td>Array to be filled with the calculated row heights </td></tr>
    <tr><td class="paramname">colWidth</td><td>Array to be filled with the calculated column widths</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>setExpanding(), expanding() </dd></dl>

</div>
</div>
<a id="ad16c097bc1563eb1587e12789498bac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad16c097bc1563eb1587e12789498bac9">&#9670;&nbsp;</a></span>takeAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QLayoutItem * QwtDynGridLayout::takeAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Find the item at a specific index and remove it from the layout</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Layout item, removed from the layout </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#a959736cf9f01da694f399ca4aa574f6d">itemAt()</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_dyn_grid_layout.html">QwtDynGridLayout</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
